let validate = {
  loginValidate: {
    account: [
      {
        required: true,
        message: "请输入6-20位账号",
        trigger: "change",
        min: 6,
        max: 20,
      },
    ],
    password: [
      {
        required: true,
        message: "请输入6-20位密码，区分大小写",
        trigger: "change",
        min: 6,
        max: 20,
      },
    ],
  },
  registerValidate: {
    account: [
      {
        required: true,
        message: "请输入6-20位账号",
        trigger: "change",
        min: 6,
        max: 20,
      },
    ],
    password: [
      {
        required: true,
        message: "请输入6-20位密码，区分大小写",
        trigger: "change",
        min: 6,
        max: 20,
      },
    ],
  },
}

export default validate